// NOT USE
//
//#ifndef PROJECTZ_NUSER_NCOMMAND_NMATCHING_CS_DUNGEON_INVITE_PARTY_H
//#define PROJECTZ_NUSER_NCOMMAND_NMATCHING_CS_DUNGEON_INVITE_PARTY_H
//
//#include "../../engine.h"
//
//#include "../../User.h"
//#include "../../Data.h"
//
//namespace ProjectZ { namespace NCommand { namespace NMatching {
//
//class CS_DUNGEON_INVITE_PARTY
//{
//public:
//	static void OnExecute(User * pUser, ::Network::Packet * pPacket)
//	{
//		////////////////////////////////////////////////
//		WORLDLOG();
//		////////////////////////////////////////////////
//
//		PREPARE_PACKET;
//		Player_Info & player_info = pUser->player_info;
//
//		int gid = 0;
//		stCostume costume;
//		int level = 0;
//		char userid[32] = {0, };
//		int attack = 0;
//		int defense = 0;
//		int classtype = 0;
//
//		pPacket->ParseMsg("%2d%2d%2d%2d%2d%2d%2d%s%d%d%c",
//				&gid,
//				&costume.head,
//				&costume.body,
//				&costume.primary_weapon,
//				&costume.secondary_weapon,
//				&costume.effect,
//				&level,
//				userid,
//				&attack,
//				&defense,
//				&classtype);
////return;
//		::Logger::GETLOG()->ToFile(::Logger::DEBUG, "CS_DUNGEON_INVITE_PARTY GID : %d(%d)", pUser->GetGID(), gid);
//
//
//		::ProjectZ::NGame::CBaseSpace * pSpace = pUser->GetSpace();
//		::Logger::GETLOG()->ToFile(::Logger::DEBUG, "====>>> pSpace = %x", pSpace);
//		if (NULL == pSpace)
//		{
//			::Logger::GETLOG()->ToFile(::Logger::DEBUG, "WARNING: CS_DUNGEON_INVITE_PARTY GID %d, pSpace is NULL", gid);
//			return;
//		}
//
//		player_info.FighterGID = gid;
//
////return;
//		// 시작
//#if 1
//		User *pTarget = pSpace->FindPlayer(gid);
//#else
//		::GameBase::Player *pReceiver = NULL;// pSpace->FindPlayer(gid);
//		::GameBase::Space::PLAYERTREE &playerTree = pSpace->GetPlayerTree();
//		for( ::GameBase::Space::CITR citr=playerTree.begin() ; citr!=playerTree.end() ; citr++ )
//		{
//			if( (*citr).first == gid )
//			{
//				pReceiver = (*citr).second;
//				break;
//			}
//		}
//#endif
////=====return;
//		if( pTarget == NULL )
//		{
//			int ret = 0;
//			::Logger::GETLOG()->ToFile(::Logger::DEBUG, "WARNING: CS_DUNGEON_INVITE_PARTY user gid %d is not exist", gid);
//			::Network::Packet bridge;
//			bridge.MsgCat("%c", ret);
//			bridge.MakePacket(CMD_SC_DUNGEON_INVITE_PARTY_RES);
//			pUser->Send(bridge);
//			return;
//		}
////----return;
//		if( pSpace->GetInfo()->eType != ::ProjectZ::NGame::CBaseSpace::WORLD )
//		{
//			int ret = 0;
//			::Logger::GETLOG()->ToFile(::Logger::DEBUG, "WARNING: CS_DUNGEON_INVITE_PARTY user gid %d is not in World", gid);
//			::Network::Packet bridge;
//			bridge.MsgCat("%c", ret);
//			bridge.MakePacket(CMD_SC_DUNGEON_INVITE_PARTY_RES);
//			pUser->Send(bridge);
//			return;
//		}
////>>>return;
//		Player_Info &target_player_info = pTarget->player_info;
//
//		target_player_info.FighterGID = pUser->GetGID();
//
//
//		::Network::Packet bridge;
//		bridge.MsgCat("%d%2d%2d%2d%2d%2d%2d%s%d%d%c",
//				pUser->GetGID(),
//				player_info.costume.head,
//				player_info.costume.body,
//				player_info.costume.primary_weapon,
//				player_info.costume.secondary_weapon,
//				player_info.costume.effect,
//				level,
//				userid,
//				attack,
//				defense,
//				classtype);
//
//		bridge.MakePacket(CMD_SC_DUNGEON_INVITE_PARTY);
//		pTarget->Send(bridge);
//	}
//};
//
//} /*NMatching*/ } /*NCommand*/ } /*ProjdectZ*/
//
//
//
//#endif /* CS_DUNGEON_INVITE_PARTY_H */
